import request from '@/utils/request'

export function getDocterTable(query) {
    return request({
      url: '/api/hospital/doctorTable/getDocterTable',
      method: 'get',
      params: query
    })
  }

  export function addDoctor(query) {
    return request({
      url:'/api/hospital/doctorTable/addDoctor',
      method:'post',
      params:query
    })
  
  }

  export function updateDocker(query) {
    return request({
      url: '/api/hospital/doctorTable/updateDocker',
      method: 'post',
      params: query
    })
  }
